#include "stdafx.h"
#include "ISocketInterface.h"
#include "UdpInterface.h"
#include "HttpInterface.h"

#ifdef _DEBUG
#pragma comment(lib, "RUdpD.lib")
#else
#pragma comment(lib, "RUdp.lib")
#endif // _DEBUG

extern ISocketInterface* GetUdpSockInterface(ILiveEvent* event_, long long uid_, long long room_id_)
{
    return new CUdpInterface(event_, uid_, room_id_);
}

extern ISocketInterface* GetHttpInterface(ILiveEvent* event_, long long uid_, long long room_id_)
{
    return new CHttpInterface(event_, uid_, room_id_);
}
